package plus.chendd.test.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@RefreshScope
public class WhiteListConfig {
  
  @Value("#{'${list}'.split(',')}")
  private List<String> paths;
}
